package BC93_统计数据正负个数;

import java.util.ArrayList;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int cont1 = 0;
        int cont2 = 0;
        while (sc.hasNext()){
            int n = sc.nextInt();
            if (n > 0){
                cont1++;
            }else if (n < 0){
                cont2++;
            }
        }
        System.out.println("positive:" + cont1);
        System.out.println("negative:" + cont2);

    }
}
